<!DOCTYPE html>
<html>

<head>
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <title>admin接口列表</title>
  <style>
    .wrap {
      width: 80%;
      margin: 0 auto;
      display: flex;
      justify-content: space-around;
      flex-wrap: wrap;
    }

    .wrap>div {
      /* flex-grow: 1; */
      width: 300px;
    }

    .dsn {
      display: none;
    }
  </style>
</head>

<body>
  <div class="wrap">
    <!-- <div class="left <%=isProd?'dsn':'222'%>"> -->
    <div class="left">
      <h1><a href="/interface.html">卖座管理系统接口列表</a></h1>
      <% adminRoutes.forEach(item=> { %>
      <h3><%=item.name%>模块(<%=item.prefix%>)</h3>
      <ol>
        <% item.interfaces.forEach(subItem=>{ %>
        <li>
          <a target="_blank" href="/admin/<%=item.prefix%>/<%=subItem%>">/admin/<%=item.prefix%>/<%=subItem%></a>
        </li>
        <% }) %>
      </ol>
      <% }) %>
    </div>

    <div class="right">
      <h1><a href="/interface.html">移动端接口列表</a></h1>
      <% apiRoutes.forEach(item=> { %>
      <h3><%=item.name%>模块(<%=item.prefix%>)</h3>
      <ol>
        <% item.interfaces.forEach(subItem=>{ %>
        <li>
          <a target="_blank" href="/api/<%=item.prefix%>/<%=subItem%>">/api/<%=item.prefix%>/<%=subItem%></a>
        </li>
        <% }) %>
      </ol>
      <% }) %>
    </div>
  </div>
</body>

</html>